package aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
@Component
@Aspect
public class AroundA {
        public Object around(ProceedingJoinPoint joinPoint) throws Throwable {
            System.out.println("切面A的通知开始");
            Object target=joinPoint.proceed();
            System.out.println("切面A的通知结束");

            return target;
        }
}
